package com.haiqi.common.persistence.entity;

public class ManningInfo {
    private Integer id;

    private String shipid;

    private String manningName;

    private String mainningDuty;

    private String recordBookId;

    private String competencyCertify;

    private String serviceTime;

    private String boatServiceTime;

    private String emergencyContact;

    private String emergencyContactNumber;

    private String userId;

    private ShipInfo ship;

    private CrewUser user;

    public ManningInfo() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getShipid() {
        return shipid;
    }

    public void setShipid(String shipid) {
        this.shipid = shipid == null ? null : shipid.trim();
    }

    public String getManningName() {
        return manningName;
    }

    public void setManningName(String manningName) {
        this.manningName = manningName == null ? null : manningName.trim();
    }

    public String getMainningDuty() {
        return mainningDuty;
    }

    public void setMainningDuty(String mainningDuty) {
        this.mainningDuty = mainningDuty == null ? null : mainningDuty.trim();
    }

    public String getRecordBookId() {
        return recordBookId;
    }

    public void setRecordBookId(String recordBookId) {
        this.recordBookId = recordBookId == null ? null : recordBookId.trim();
    }

    public String getCompetencyCertify() {
        return competencyCertify;
    }

    public void setCompetencyCertify(String competencyCertify) {
        this.competencyCertify = competencyCertify == null ? null : competencyCertify.trim();
    }

    public String getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(String serviceTime) {
        this.serviceTime = serviceTime == null ? null : serviceTime.trim();
    }

    public String getBoatServiceTime() {
        return boatServiceTime;
    }

    public void setBoatServiceTime(String boatServiceTime) {
        this.boatServiceTime = boatServiceTime == null ? null : boatServiceTime.trim();
    }

    public String getEmergencyContact() {
        return emergencyContact;
    }

    public void setEmergencyContact(String emergencyContact) {
        this.emergencyContact = emergencyContact == null ? null : emergencyContact.trim();
    }

    public String getEmergencyContactNumber() {
        return emergencyContactNumber;
    }

    public void setEmergencyContactNumber(String emergencyContactNumber) {
        this.emergencyContactNumber = emergencyContactNumber == null ? null : emergencyContactNumber.trim();
    }

    public ShipInfo getShip() {
        return ship;
    }

    public void setShip(ShipInfo ship) {
        this.ship = ship;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public CrewUser getUser() {
        return user;
    }

    public void setUser(CrewUser user) {
        this.user = user;
    }
}